﻿/***************************
 * Author：peiyang
 * DateTime：
 * Description：<Description>
 * Copyright：臭皮匠工作室@2020
 **/

using System.Collections.Generic;

namespace Cpjit.SunnyPaine.Toolkit.RabbitMQ.Model
{
    /// <summary>
    /// 附加属性。
    /// </summary>
    public class BasicProperty
    {
        /// <summary>
        /// 用户Id。
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 时间戳。
        /// </summary>
        public long? Timestamp { get; set; }

        /// <summary>
        /// 回应内容。
        /// </summary>
        public string ReplyTo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public byte? Priotity { get; set; }

        /// <summary>
        /// 是否持久化。
        /// </summary>
        public bool? Persistent { get; set; }

        /// <summary>
        /// 消息Id。
        /// </summary>
        public string MessageId { get; set; }

        /// <summary>
        /// 头信息。
        /// </summary>
        public IDictionary<string, object> Headers { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Experation { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public byte? DeliveryMode { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string CorrelationId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ContentType { get; set; }

        /// <summary>
        /// 内容编码。
        /// </summary>
        public string ContentEncoding { get; set; }

        /// <summary>
        /// 集群Id。
        /// </summary>
        public string ClusterId { get; set; }

        /// <summary>
        /// APPId
        /// </summary>
        public string AppId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Type { get; set; }
    }
}